package com.lk.service;

import java.util.List;

import com.lk.dao.IdeaDao;
import com.lk.entity.Idea;

public class IdeaService {

	IdeaDao dao = new IdeaDao();
	
	public void save(Idea i){
		dao.save(i);
	}
	
	public void del(String id){
		dao.del(id);
	}
	
	public void update(Idea i){
		dao.update(i);
	}
	
	public List<Idea> findAll(String t_project_id,String t_employee_id){
		return dao.findAll(t_project_id, t_employee_id);
	}
	
	public Idea findById(String id){
		return dao.findById(id);
	}
	
}
